package observer;

public class Main {
    public static void main(String[] args) {
        RandomNumberGenerator randomNumberGenerator = new RandomNumberGenerator();

        Observer digit = new DigitObserver();
        Observer graph = new GraphObserver();
        randomNumberGenerator.addObserver(digit);
        randomNumberGenerator.addObserver(graph);
        randomNumberGenerator.execute();


    }
}
